package com.caogt.app;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/app")
public class AppDemoCtrl {
    @GetMapping("/test")
    public String test(){
        System.out.println("test_current_time:"+System.currentTimeMillis());
        return "success";
    }
    @GetMapping("/hello")
    public String hello(){
        System.out.println("hello_current_time:"+System.currentTimeMillis());
        return "success";
    }
}
